package com.xbongbong.pro.rabbitmq.producer;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.message.pojo.dto.ConsistencySyncRabbitMqDTO;
import com.xbongbong.saas.enums.XbbRefTypeEnum;

/**
 * 数据一致性同步 生产者
 * @author 魏荣杰
 * @date 2019/6/11 9:25
 * @since v1.0
 * @version v1.0
 */
public interface ConsistencySyncProducer {
    /**
     * Description: 数据一致性同步
     * @param consistencySyncRabbitMqDTO
     * @param xbbRefTypeEnum
     * @throws XbbException XbbException
     * @author 魏荣杰
     * @date 2019/6/11 10:06
     * @since v1.0
     */
    void syncData(ConsistencySyncRabbitMqDTO consistencySyncRabbitMqDTO, XbbRefTypeEnum xbbRefTypeEnum) throws XbbException;
}
